package com.neusoft.ysu.npms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.neusoft.ysu.npms.pojo.Department;
import com.neusoft.ysu.npms.pojo.Farmer;
import com.neusoft.ysu.npms.pojo.Leader;
import com.neusoft.ysu.npms.pojo.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
public interface ILeaderService extends IService<Leader>
{
    Result add(Leader leader);
    Result deleteLeader(Leader leader);
    Result updateLeader(Leader leader);
    PageInfo selectAll(Leader leader, int pageNum, int pageSize);
    Result findById(Leader leader);
}
